package org.xxx.epms.result.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.xxx.epms.result.models.GridCity;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lb
 * @since 2024-06-08
 */
public interface GridCityService extends IService<GridCity> {

    //根据城市ID获取城市信息
    GridCity getGridCityById(Integer cityId);

    //根据省份id获取城市
    List<GridCity> getCityByProvinceId(Integer provinceId);

    /**
     * 添加城市信息
     * @param gridCity 城市信息
     */
    void addGridCity(GridCity gridCity);
}
